import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    vuexuserInfo:null
  },
  mutations: {
    userInfo(state,payload){
      state.vuexuserInfo=payload.vuexuserInfo
    }
  },
  actions: {
  },
  modules: {
  },
  plugins:[createPersistedState()]

})
